<template>
  <el-dialog
    :visible.sync="maxImageVisible"
    width="700px"
    :before-close="close"
  >
    <div>
      <img :src="maxImageUrl" alt="" srcset="" width="650px" />
    </div>
  </el-dialog>
</template>
<script>
export default {
  props: {
    maxImageVisible: {
      type: Boolean,
      default: false
    },
    maxImageUrl: {
      type: String,
      default: ""
    }
  },
  data() {
    return {};
  },
  methods: {
    close() {
      this.$emit("maxImageClose");
    }
  }
};
</script>
<style lang="scss" scoped></style>
